package net.web.inst.service;

import java.util.List;

import net.esj.basic.exception.MelonException;
import net.esj.basic.utils.Pagination;
import net.melon.article.pojo.Article;
import net.melon.product.pojo.Product;
import net.web.dto.BaseParam;
import net.web.dto.City;
import net.web.dto.ParamArticle;
import net.web.dto.ParamDto;
import net.web.dto.ProductDetail;
import net.web.dto.ProductDto;
import net.web.dto.UnicodeParamDto;



public interface WebService {

	Pagination<Product> productPage(Integer page, Integer rp, Long manufacturers,Long brands, Long cars, Double price1, Double price2, Integer orderBy1,Integer orderBy2, String searchStr, Long regionId);

	ProductDetail getProductDetail(String id) throws MelonException,Exception;

	List<ParamDto> getAdvList();

	List<UnicodeParamDto> getBrandList();

	List<ParamDto> getHotActivityList(boolean hot);

	List<ProductDto> getHotCarList(Long regionId);
	
	List<ParamArticle> getNewsInformationList();

	List<ParamArticle> getBuyPurchaseList();

	Article getArticleDetail(Integer id);

	Pagination<Article> articlePage(Integer page, Integer rp, Integer channel);

	List<City> getCityList();

	List<BaseParam> getSeriesList();

	List<BaseParam> getBrandList(Long manufacturers);

	List<BaseParam> getClassifyList(Long brands);

	List<ParamArticle> getCarLeaseList();
}

